package com.lambda.demo.stream;

import com.lambda.demo.models.AuthorsData;

public class StreamAllMatchTest {
  public static void main(String[] args) {
    Boolean flag = AuthorsData.getAuthors().stream()
      .allMatch(a -> a.getAge() > 59);
      System.out.println(flag);
  }
}
